Skip to content

fix: update Dockerfiles to use dbt-adapters monorepo URLs#1757

Open
sunilp wants to merge 1 commit intodbt-labs:mainfrom
sunilp:fix/dockerfile-outdated-repo-urls
Open

fix: update Dockerfiles to use dbt-adapters monorepo URLs#1757
sunilp wants to merge 1 commit intodbt-labs:mainfrom
sunilp:fix/dockerfile-outdated-repo-urls

Conversation

@sunilp
Copy link

@sunilp sunilp commented Mar 14, 2026

Summary

After the migration to the dbt-adapters monorepo, all 5 adapter Dockerfiles still reference the old separate repositories (dbt-labs/dbt-bigquery, dbt-labs/dbt-postgres, etc.) which no longer exist. This causes Docker builds to fail.

Before:

RUN pip install "dbt-bigquery @ git+https://github.com/dbt-labs/dbt-bigquery@${commit_ref}"

After:

RUN pip install "dbt-bigquery @ git+https://github.com/dbt-labs/dbt-adapters@${commit_ref}#subdirectory=dbt-bigquery"

Files changed

  • dbt-bigquery/docker/Dockerfile
  • dbt-postgres/docker/Dockerfile
  • dbt-redshift/docker/Dockerfile
  • dbt-snowflake/docker/Dockerfile
  • dbt-spark/docker/Dockerfile

Fixes #1699

Checklist

  • I have signed the CLA
  • This PR fixes broken Docker builds
  • No code changes — only Dockerfile install URLs updated

After the migration to the dbt-adapters monorepo, the Dockerfiles still
reference the old separate repositories (dbt-labs/dbt-bigquery, etc.)
which no longer exist. This causes Docker builds to fail.

Updated all 5 adapter Dockerfiles to install from the monorepo using
the #subdirectory pip syntax:
  git+https://github.com/dbt-labs/dbt-adapters@ref#subdirectory=dbt-<adapter>

Fixes dbt-labs#1699
@sunilp sunilp requested a review from a team as a code owner March 14, 2026 19:14
@cla-bot cla-bot bot added the cla:yes The PR author has signed the CLA label Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla:yes The PR author has signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Dockerfiles out-of-date after move into dbt-adapters

1 participant